package cn.com.bluemoon.daps.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Description 角色入参;
 * @Author luolq
 * @Date 2022/12/23 16:20
 * @Vsersion 1.0
 **/
@Data
public class SysRoleDto {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "角色名")
    @NotBlank(message = "角色名不能为空")
    private String name;

    @ApiModelProperty(value = "是否启用（1：启用，0：未启用）")
    private Integer isUse;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "菜单ID集合")
    private List<Long> menuIdList;

}
